package com.teach.service.shop;

import java.util.List;

import org.springframework.data.repository.query.Param;

import com.teach.entity.ShopAddress;

public interface ShopAddressService {
	
	ShopAddress select(Integer shopAddressId);

	List<ShopAddress> get(String userName);
	
	ShopAddress getMsg(Integer msg, String userName);
	
	int del(Integer addressId, String userName);
	
	void delete(Integer shopAddressId);
	
	void add(ShopAddress shopAddress);
	
	int updateMsg(Integer msg,Integer addressId);
	
	int update(String userName);
	
	int insert(String province, String city, String area, String posi, String pho, String rel, Integer msg, String userName);
}
